<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style/global.css" />
<link rel="stylesheet" type="text/css" href="style/admin.css" />
<link rel="stylesheet" type="text/css" href="style/tip.css" />
<title>用户管理</title>
</head>

<body>
	<div id="wrap">
    	<div id="public_head"></div>
        <div class="m_revise" id="revise">
        <form action='' method='post'>
        	<table class="tableForm" width="0" border="0">
              <tr><th height="45" width="90">用户名：</th><td width="120"><?php echo $userinfo['USER_NAME']?></td></tr>
              <tr><th height="45">姓名：</th><td><?php echo $userinfo['TRUE_NAME']?></td></tr>
              <tr><th height="45">工号：</th><td><?php echo $userinfo['DOC_NO']?></td></tr>
              <tr><th  height="45">新密码：</th><td><input id="password" class="qf_text" name="newpwd" type="text" /></td></tr>
              <tr><th height="45">确认密码：</th><td><input id='retpwd' class="qf_text" name="" type="text" /></td></tr>
              <tr><th height="45"></th><td><input class="btn_save" name="edit_pwd" type="submit" value=""/> <input class="btn_gray" name="" type="button" value="返 回" onclick="history.back();"/></td></tr>
            </table>
         </form>
        </div>
    </div>
</body>
</html>
<script src="/js/xheditor/jquery/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="/js/boot.js" type="text/javascript"></script>
<script src="/js/tip.js" type="text/javascript"></script>
<script src="/js/add_public_head.js" type="text/javascript"></script>
<script type="text/javascript">
$('input.btn_save[name="edit_pwd"]').click(function(){
	if($('#password').val()=='' || $('#password').val().length<6){
		alert('密码长度为6位，请正确输入')
		return false;
	}
	if($('#retpwd').val()!=$('#password').val()){
		alert('两次输入的密码不一致，请重新输入')
		return false;
	}
})
</script>